<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
pageContext.setAttribute("basePath",basePath);
%>
<div style="margin: 20px 0;"></div>
<!-- Unnamed (动态面板) -->
<div class="easyui-panel" title="基本信息">
	<table cellpadding="5" style="width: 100%">
		<tr>
			<td>会员编号</td>
			<td><input class="easyui-textbox" type="text"  name="custom_no"  value="${customInfEntity.custom_no}"></input></td>
			<td>手机号</td>
			<td><input class="easyui-textbox" type="text"  name="phone"  value="${customInfEntity.phone}"></input></td>
		</tr>
		<tr>
			<td>会员名称</td>
			<td><input class="easyui-textbox" type="text"  name="name"  value="${customInfEntity.name}"></input></td>
			<td>会员状态</td>
			<td>
				<code:codeSelect name="user_st" id="user_st" code_type="USER_ST" showSelect="true" selectId="${customInfEntity.user_st}" disabled="true"></code:codeSelect>
			</td>
		</tr>
		<tr>
			<td>推荐人</td>
			<td><input class="easyui-textbox" type="text"  name="sup_custom_name"  value="${customInfEntity.sup_custom_name}"></input></td>
			<td>所属机构</td>
			<td><input class="easyui-textbox" type="text"  name="ins_name"  value="${customInfEntity.ins_name}"></input></td>
		</tr>
		<tr>
			<td>所属地区</td>
			<td><input class="easyui-textbox" type="text"  name="area_cn_name"  value="${customInfEntity.area_cn_name}"></input></td>
			<td>注册日期</td>
			<td>
				<input class="easyui-textbox" type="text"  name="rec_crt_ts"  value="${customInfEntity.rec_crt_ts}"></input>
			</td>
		</tr>
		<tr>
			<td>身份证号</td>
			<td><input class="easyui-textbox" type="text"  name="certificate_no"  value="${customInfEntity.certificate_no}"></input></td>
			<td>实名认证启用日期</td>
			<td><input class="easyui-textbox" type="text"  name="certificate_no"  value="${customInfEntity.realname_auth_ts}"></input></td>
		</tr>
		<tr>
			<td>会员实名认证状态</td>
			<td>
				<code:codeSelect name="realname_auth_st" id="realname_auth_st" code_type="REALNAME_AUTH_ST" showSelect="true" selectId="${customInfEntity.realname_auth_st }" disabled="true"></code:codeSelect>
			</td>
			<td>实名认证审核状态</td>
			<td>
				<code:codeSelect name="realname_audit_st" id="realname_audit_st" code_type="REALNAME_AUDIT_ST" showSelect="true" selectId="${customInfEntity.realname_audit_st }" disabled="true"></code:codeSelect>
			</td>
		</tr>
		<tr>
			<td>VIP认证状态</td>
			<td>
				<code:codeSelect name="vip_st" id="vip_st" code_type="VIP_ST" showSelect="true" selectId="${customInfEntity.vip_st }" disabled="true"></code:codeSelect>
				</td>
			<td>vip会员启用日期</td>
			<td><input class="easyui-textbox" type="text"  name="ins_cd"  value="${customInfEntity.vip_auth_ts}"></input></td>
		</tr>
	</table>
</div>
<div style="margin: 30px 0;"></div>
<div class="easyui-panel" title="原清算信息">
	<table cellpadding="5" style="width: 100%">
		<tr>
			<td>开户行所属地区</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.bank_province_appCustomBankOldEntity.bank_locality"  value="${appCustomBankOldEntity.bank_province}-${appCustomBankOldEntity.bank_locality}"></input></td>
			<td>开户行总行名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.super_bank_nm"  value="${appCustomBankOldEntity.super_bank_nm}"></input></td>
		</tr>
		<tr>
			<td>清算资金开户行号</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.settle_bank_no"  value="${appCustomBankOldEntity.settle_bank_no}"></input></td>
			<td>清算资金开户行名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.bank_nm"  value="${appCustomBankOldEntity.bank_nm}"></input></td>
		</tr>
		<tr>
			<td>清算资金账号</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.settle_acct"  value="${appCustomBankOldEntity.settle_acct}"></input></td>
			<td>清算资金账号名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankOldEntity.acct_nm"  value="${appCustomBankOldEntity.acct_nm}"></input></td>
		</tr>
	</table>
</div>
<div style="margin: 30px 0;"></div>
<div class="easyui-panel" title="原会员资料图片信息">
	<table cellpadding="5" style="width: 100%">
		<c:forEach var="item" items="${oldPicList }" varStatus="vs"> 			
				
				<c:if test="${vs.index eq 0 }">
				<tr>
					<td>银行卡正面照</td>
					<td><img alt="银行卡正面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
				</c:if>
			 
				<c:if test="${vs.index eq 2 }">
					<td>手持身份证银行卡</td>
					<td><img alt="手持身份证银行卡" src="${basePath}${item.affix_path}"  class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
					</tr>
				</c:if>
				
				<c:if test="${vs.index eq 3 }">
				<tr>
					<td>身份证正面照</td>
					<td><img alt="身份证正面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
				</c:if>
				<c:if test="${vs.index eq 4 }">
					<td>身份证反面照</td>
					<td><img alt="身份证反面照" src="${basePath}${item.affix_path}" class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
				</tr>
				</c:if>
				
				<c:if test="${vs.index eq 5 }">
				<tr>
					<td>信用卡正面照</td>
					<td><img alt="信用卡正面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
				</c:if>
				<c:if test="${vs.index eq 1 }">
					<td>银行卡反面照</td>
					<td><img alt="银行卡反面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "oldPic" id="${item.affix_uuid}"></td>
				</tr>
				</c:if>
			
        </c:forEach> 
	</table>
</div>
<div style="margin: 30px 0;"></div>
<div class="easyui-panel" title="新的清算信息">
	<table cellpadding="5" style="width: 100%">
		<tr>
			<td>开户行所属地区</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.bank_province_appCustomBankNewEntity.bank_locality"  value="${appCustomBankNewEntity.bank_province}-${appCustomBankNewEntity.bank_locality}"></input></td>
			<td>开户行总行名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.super_bank_nm"  value="${appCustomBankNewEntity.super_bank_nm}"></input></td>
		</tr>
		<tr>
			<td>清算资金开户行号</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.settle_bank_no"  value="${appCustomBankNewEntity.settle_bank_no}"></input></td>
			<td>清算资金开户行名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.bank_nm"  value="${appCustomBankNewEntity.bank_nm}"></input></td>
		</tr>
		<tr>
			<td>清算资金账号</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.settle_acct"  value="${appCustomBankNewEntity.settle_acct}"></input></td>
			<td>清算资金账号名称</td>
			<td><input class="easyui-textbox" type="text"  name="appCustomBankNewEntity.acct_nm"  value="${appCustomBankNewEntity.acct_nm}"></input></td>
		</tr>
	</table>
</div>
<div style="margin: 30px 0;"></div>
<div class="easyui-panel" title="新的银行卡图片信息">
	<table cellpadding="5" style="width: 100%">
		<c:forEach var="item" items="${newPicList }" varStatus="vs"> 
			<c:if test="${vs.index eq 0 }">
				<tr>
					<td>银行卡正面照</td>
					<td><img alt="银行卡正面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "newPic" id="${item.affix_uuid}"></td>
			</c:if>
			<c:if test="${vs.index eq 1 }">
					<td>银行卡反面照</td>
					<td><img alt="银行卡反面照" src="${basePath}${item.affix_path}"  class="imgClass" name = "newPic" id="${item.affix_uuid}"></td>
				</tr>
			</c:if>
			<c:if test="${vs.index eq 2 }">
				<tr>				 
					<td>手持身份证银行卡</td>
					<td><img alt="手持身份证银行卡" src="${basePath}${item.affix_path}"  class="imgClass" name = "newPic" id="${item.affix_uuid}"></td>
				</tr>
			</c:if>
        </c:forEach> 
	</table>
</div>
<div style="margin: 30px 0;"></div>
<script>
	//加载图片轮播插件
	$("img[name='oldPic']").bind("click", function(e) {
		window.open("../settleaccount/showOldPicInfo.do?custom_uuid=${customInfEntity.uuid}&picId="+$(e.target).attr("id"));
	});
	$("img[name='newPic']").bind("click", function(e) {
		window.open("../settleaccount/showNewPicInfo.do?custom_uuid=${customInfEntity.uuid}&picId="+$(e.target).attr("id"));
	});
</script>
 
